package com.example.warehousewms.bean;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Inventory {

    private Long id;
    private Long productId;
    private Long locationId;
    /** 可用数量 */
    private Integer quantity;
    /** 锁定数量 */
    private Integer lockedQuantity;
    /** 库存状态: NORMAL-正常, FROZEN-冻结 */
    private String inventoryStatus;
    /** 最后入库时间 */
    private LocalDateTime lastStockInTime;
    /** 版本号(乐观锁) */
    private Integer version;
    /** 备注 */
    private String remark;

}
